package org.dromara.house.service;

import org.dromara.common.core.domain.R;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.house.domain.bo.LeasingTrendsBo;
import org.dromara.house.domain.dto.*;
import org.dromara.house.domain.entity.ParkHousing;

import java.util.List;

public interface StatisticsService {


    R<List<DistrictOccupancyRateDto>> districtOccupancyRate();


    R<List<HousingOccupancyRateDto>> housingOccupancyRate();

    R<List<LeasingTrendsDto>> leasingTrends(LeasingTrendsBo bo);

    R<OverallStatisticsDto> overallStatistics();


    R<DistrictStatisticsDto> districtStatistics(LeasingTrendsBo bo);

    R<HousingStatisticsDto> housingStatistics(LeasingTrendsBo bo);

    TableDataInfo<ParkHousingDto> selectPageList(LeasingTrendsBo bo, PageQuery pageQuery);
}
